import request from '@/utils/request'

// 查询路测项目信息列表
export function listEaOutdoorProject(query) {
  return request({
    url: '/admin-api/trade/outdoorProject/list',
    method: 'get',
    params: query
  })
}

// 查询路测项目信息详细
export function getEaOutdoorProject(id) {
  return request({
    url: '/admin-api/trade/outdoorProject/' + id,
    method: 'get'
  })
}

// 新增路测项目信息
export function addEaOutdoorProject(data) {
  return request({
    url: '/admin-api/trade/outdoorProject',
    method: 'post',
    data: data
  })
}

// 修改路测项目信息
export function updateEaOutdoorProject(data) {
  return request({
    url: '/admin-api/trade/outdoorProject',
    method: 'put',
    data: data
  })
}

// 删除路测项目信息
export function delEaOutdoorProject(id) {
  return request({
    url: '/admin-api/trade/outdoorProject/' + id,
    method: 'delete'
  })
}
